package com.lzy.ninegridview;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;

public class RvGridActivity extends AppCompatActivity {

    public static void jumpTo(Context context) {
        Intent intent = new Intent(context, RvGridActivity.class);
        context.startActivity(intent);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //EdgeToEdge.enable(this);
        setContentView(R.layout.activity_rv_grid);

        getSupportFragmentManager()
                .beginTransaction()
                .add(R.id.fl_container,new ImageGridFragment())
                .commitAllowingStateLoss();

    }
}